home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
Tickle-4.0 (tcl)
/
src
/
tickle.r
< prev
next >
Wrap
Text File
|
1993-11-18
|
7KB
|
294 lines
/*
** This source code was written by Tim Endres
** Email: time@ice.com.
** USMail: 8840 Main Street, Whitmore Lake, MI 48189
**
** Some portions of this application utilize sources
** that are copyrighted by ICE Engineering, Inc., and
** ICE Engineering retains all rights to those sources.
**
** Neither ICE Engineering, Inc., nor Tim Endres,
** warrants this source code for any reason, and neither
** party assumes any responsbility for the use of these
** sources, libraries, or applications. The user of these
** sources and binaries assumes all responsbilities for
** any resulting consequences.
*/
#include "SysTypes.r" /* To get system types */
#include "Types.r" /* To get system types */
#include "CTBTypes.r" /* To get CTB types */
#include "tar.r";
include "tickle.code";
include "tickle.rsrc";
resource 'SIZE' (-1) {
dontSaveScreen,
acceptSuspendResumeEvents,
enableOptionSwitch,
canBackground,
multiFinderAware,
backgroundAndForeground,
dontGetFrontClicks,
ignoreChildDiedEvents,
is32BitCompatible,
isHighLevelEventAware,
localAndRemoteHLEvents,
notStationeryAware,
dontUseTextEditServices,
reserved,
reserved,
reserved,
1024*1024,
512*1024
};
resource 'vers' (1)
{
0x04, 0x00, release, 0x01, verUS,
"4.0v1",
"tickle 4.0v1, Written By Tim Endres"
};
resource 'vers' (2)
{
0x04, 0x00, release, 0x01, verUS,
"4.0v1",
"tickle 4.0v1 (11/18/93)"
};
resource 'MENU' (256)
{
256,
textMenuProc,
0x7FEE1C43,
enabled,
"File",
{
"New...", noIcon, "N", noMark, plain;
"Open...", noIcon, "O", noMark, plain;
"Save...", noIcon, "S", noMark, plain;
"Save As...", noIcon, noKey, noMark, plain;
"Close Window", noIcon, "W", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Page Setup", noIcon, noKey, noMark, plain;
"Print Window", noIcon, "P", noMark, plain;
"Print Selection", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Open Feedback", noIcon, "3", noMark, plain;
"Begin Logging", noIcon, "L", noMark, plain;
"Debug Level...", noIcon, "7", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Pause Operation", noIcon, "1", noMark, plain;
"Cancel Operation", noIcon, ".", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Run Script...", noIcon, "J", noMark, plain;
"New Folder...", noIcon, noKey, noMark, plain;
"Stop The Icons", noIcon, "0", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Quit", noIcon, "Q", noMark, plain;
}
};
resource 'MENU' (257) {
257,
textMenuProc,
allEnabled,
enabled,
"Edit",
{
"Undo", noIcon, "Z", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Cut", noIcon, "X", noMark, plain;
"Copy", noIcon, "C", noMark, plain;
"Paste", noIcon, "V", noMark, plain;
"Clear", noIcon, "B", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Select All", noIcon, "A", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Shift Left", noIcon, "[", noMark, plain;
"Shift Right", noIcon, "]", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Find…", noIcon, "F", noMark, plain;
"Repeat Find", noIcon, "G", noMark, plain;
"Replace…", noIcon, "R", noMark, plain;
"Repeat Replace", noIcon, "T", noMark, plain;
}
};
resource 'MENU' (269) {
269,
textMenuProc,
0x7FFFFFFF,
enabled,
"Tcl",
{
"No Scripts Installed…", noIcon, noKey, noMark, plain;
}
};
resource 'MENU' (258) {
258,
textMenuProc,
0x7FFFAEED,
enabled,
"Mac",
{
"Macintosh File Info…", noIcon, "I", noMark, plain;
"-", noIcon, noKey, noMark, plain;
"BinHex File…", noIcon, noKey, noMark, plain;
"Un-BinHex File…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"MacBinary Info…", noIcon, noKey, noMark, plain;
"MacBinary File…", noIcon, noKey, noMark, plain;
"Un-MacBinary File…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Copy Hierarchy…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Hierarchical Commands", noIcon, hierarchicalMenu, "\0x45", plain;
/*"External Commands", noIcon, hierarchicalMenu, "\0x46", plain;*/
}
};
resource 'MENU' (69) {
69,
textMenuProc,
allEnabled,
enabled,
"",
{
"Set File Type…", noIcon, noKey, noMark, plain;
"Set File Creator…", noIcon, noKey, noMark, plain;
"Set Folder View…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Show File Info…", noIcon, noKey, noMark, plain;
"Show Folder Info…", noIcon, noKey, noMark, plain;
"Show File/Folder Info…", noIcon, noKey, noMark, plain;
}
};
resource 'MENU' (70) {
70,
textMenuProc,
allEnabled,
enabled,
"",
{
"No External Commands", noIcon, noKey, noMark, plain;
}
};
resource 'MENU' (259) {
259,
textMenuProc,
allEnabled,
enabled,
"Text",
{
"Split Text File…", noIcon, noKey, noMark, plain;
"Join Text Files…", noIcon, noKey, noMark, plain;
"Convert Text File…", noIcon, noKey, noMark, plain;
"Make File Type TEXT…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Unix To Mac…", noIcon, noKey, noMark, plain;
"Mac To Unix…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"PC To Mac…", noIcon, noKey, noMark, plain;
"Mac To PC…", noIcon, noKey, noMark, plain;
}
};
resource 'MENU' (260) {
260,
textMenuProc,
allEnabled,
enabled,
"UNIX",
{
"UUencode File…", noIcon, noKey, noMark, plain;
"UUdecode File…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Compress File…", noIcon, noKey, noMark, plain;
"Decompress File…", noIcon, noKey, noMark, plain;
}
};
resource 'MENU' (261) {
261,
textMenuProc,
allEnabled,
enabled,
"StuffIt™",
{
"Stuff File…", noIcon, noKey, noMark, plain;
"Stuff Multiple…", noIcon, noKey, noMark, plain;
"UnStuff Archive…", noIcon, noKey, noMark, plain;
}
};
resource 'MENU' (262) {
262,
textMenuProc,
allEnabled,
enabled,
"ASD",
{
"ASD Information…", noIcon, noKey, noMark, plain;
"ASD To Macintosh…", noIcon, noKey, noMark, plain;
"ASD To MacBinary…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"Macintosh To AppleSingle…", noIcon, noKey, noMark, plain;
"Macintosh To AppleDouble…", noIcon, noKey, noMark, plain;
"-", noIcon, noKey, noMark, plain;
"MacBinary To AppleSingle…", noIcon, noKey, noMark, plain;
"MacBinary To AppleDouble…", noIcon, noKey, noMark, plain;
}
};
resource 'CNTL' (6991) {
{0, 0, 19, 200},
popupTitleRightJust,
visible, 65, 6991,
popupMenuCDEFproc,
0, "Method"
};
resource 'MENU' (6991) {
6991,
textMenuProc,
allEnabled,
enabled,
"",
{
"None", noIcon, noKey, noMark, plain;
"Fast", noIcon, noKey, noMark, plain;
"Faster", noIcon, noKey, noMark, plain;
"Better", noIcon, noKey, noMark, plain;
"Optimal", noIcon, noKey, noMark, plain;
"Best Guess", noIcon, noKey, noMark, plain;
}
};
resource 'DLOG' (3030) {
{38, 80, 245, 427},
dBoxProc,
invisible,
noGoAway,
0x0,
3030,
""
};
resource 'DITL' (3030) {
{
{178, 30, 198, 88}, Button { enabled, "OK"},
{178, 258, 198, 316}, Button { enabled, "Cancel"},
{ 2, 2, 19, 373}, StaticText {disabled, "Prompt"},
{ 19, 2, 168, 345}, UserItem {disabled}
}
};